package ru.jexp.database;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class SQL {
	public static void exec(String sql, Connection conn) throws SQLException {
		Statement stmt = conn.createStatement();
		try {
			System.out.println(sql);
			stmt.execute(sql);
		} finally {
			stmt.close();
		}
	}
}
